package com.lvandroid.player.utils;

import android.content.Context;

import com.lvandroid.player.MyApp;

public class ScenarioManager {
    private static ScenarioManager scenarioManager;
    public static int PANEL_WITH = 850;
    public static int PANEL_HEIGHT = 500;
    public static int SCREEN_WITH = 850;
    public static int SCREEN_HEIGHT = 850;
    private ScenarioManager(Context context) {

        SCREEN_WITH = XScreenUtils.getScreenWidth(MyApp.getAppContext());
        SCREEN_HEIGHT = XScreenUtils.getScreenHeight(MyApp.getAppContext());
    }
    public  static  ScenarioManager  getInstance(Context  context){
        if (scenarioManager==null){
            scenarioManager=new ScenarioManager(context);

        }
        return   scenarioManager;
    }
}
